/**
 * Created by Administrator on 2018/7/4.
 */

let [pageH, pageW] = [$(window).height(), $(window).width()];
let bodySize = pageH / 637;
let htmlFontSize = bodySize * 65 + "%";

function pageResize() {
    $("html").css("font-size", htmlFontSize).css("opacity", 1);
    $("#myContainer").css("width", pageH * 16 / 9);
    console.log("~~~~~~~~~窗口高度：" + pageH + ",\n宽度:" + pageW + " \nbody字号：" + htmlFontSize)
}
pageResize();
$(function () {

});